package com.lb.shopguide.adapter;

import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.lb.shopguide.R;
import com.lb.shopguide.entity.DeliveryShowBean;
import com.lb.shopguide.ui.view.LbAddressPoint;

import java.util.List;

/**
 * Created by kang on 2017/6/3.
 */

public class AdapterCheckDelivery extends BaseQuickAdapter<DeliveryShowBean, BaseViewHolder> {

    public AdapterCheckDelivery(int layoutResId, List<DeliveryShowBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, DeliveryShowBean item) {
        View view = helper.itemView;
        LbAddressPoint pt = view.findViewById(R.id.addr_point);
        pt.setType(item.getType());
    }
}
